/**
 * Copyright (c) 2018-2022, NXOS Development Team
 * SPDX-License-Identifier: Apache-2.0
 * 
 * Contains: Poll event
 * 
 * Change Logs:
 * Date           Author            Notes
 * 2023-01-21     JasonHu           Init
 */

#ifndef __POLL_EVENT__
#define __POLL_EVENT__

#include <base/exobj.h>

#define NX_POLL_READ   0x01
#define NX_POLL_WRITE  0x02

typedef struct NX_PollState
{
    NX_Solt solt;
    NX_U32 inmask; /* input poll mask */
    NX_U32 outmask; /* output poll mask */
} NX_PollState;


#endif /* __POLL_EVENT__ */
